<?php

namespace Transform;

class VoucherTransform extends Transform
{
    public function details($arguments)
    {
        return [
            'allows' => ['id','expire_time','user_id','type','shop_id','shop_name','cate_id','cate_name','description','amount','condition','exit_voucher','title'],
        ];
    }

     public function choice($arguments)
    {
        return [
            'allows' => ['id','expire_time','user_id','type','shop_id','shop_name','cate_id','cate_name','description','amount','condition','voucher_id','title','brands'],
        ];
    }

}
